package com.example.fireassistant_server.repository;

import com.example.fireassistant_server.entity.Essential;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface EssentialRepository extends JpaRepository<Essential, String>, JpaSpecificationExecutor<Essential> {

    List<Essential> findByKeywordLike(String keyword);
}
